package com.cloud.pole.user.biz;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ace.cache.annotation.Cache;
import com.cloud.pole.common.biz.BaseBiz;
import com.cloud.pole.mapper.CpChannelPersonMapper;
import com.cloud.pole.user.model.entity.CpChannelPerson;

@Service
@Transactional(rollbackFor = Exception.class)
public class CpChannelPersonBiz extends BaseBiz<CpChannelPersonMapper, CpChannelPerson> {

    public CpChannelPerson selectByMobile(String mobile){
    	CpChannelPerson channelPerson = new CpChannelPerson();
    	channelPerson.setMobile(mobile);
        return mapper.selectOne(channelPerson);
    }
    
}
